package com.example.sunmiv1.entity;

import java.util.ArrayList;
import java.util.List;

public class SkuGoodsInfo {
    private List<String> id;
    private List<String> name;
    private String old_id;
    private String sku_goods_number;// 貨號
    private String sku_code; // 條碼
    private String purchase_price;// 採購價
    private String retail_price;// 售價
    private String goods_num;// 庫存
    private String weight_value;//重量
    private String online_price;//商城價
    private String third_goods_code;
    private String plu_code;
    private String plus_mem_integral;
    private String plus_price;
    private String shop_mem_integral;
    private String shop_mem_price;
    private String store_mem_integral;
    private String store_mem_price;
    private String more_num;
    private String less_num;
    private String status="1";
    private String purch_price;
    private String guide_royalty_price;
    private String guide_royalty_online_price;

    public String getGuide_royalty_online_price() {
        return guide_royalty_online_price == null ? "" : guide_royalty_online_price;
    }

    public String getGuide_royalty_price() {
        return guide_royalty_price == null ? "" : guide_royalty_price;
    }

    public void setGuide_royalty_online_price(String guide_royalty_online_price) {
        this.guide_royalty_online_price = guide_royalty_online_price;
    }

    public void setGuide_royalty_price(String guide_royalty_price) {
        this.guide_royalty_price = guide_royalty_price;
    }

    public String getPurch_price() {
        return purch_price == null ? "" : purch_price;
    }

    public void setPurch_price(String purch_price) {
        this.purch_price = purch_price;
    }

    public String getStatus() {
        return status == null ? "" : status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getGoods_num() {
        return goods_num == null ? "" : goods_num;
    }

    public String getOld_id() {
        return old_id == null ? "" : old_id;
    }

    public void setOld_id(String old_id) {
        this.old_id = old_id;
    }

    public String getLess_num() {
        return less_num == null ? "" : less_num;
    }

    public void setLess_num(String less_num) {
        this.less_num = less_num;
    }

    public String getMore_num() {
        return more_num == null ? "" : more_num;
    }

    public void setMore_num(String more_num) {
        this.more_num = more_num;
    }

    public String getStore_mem_price() {
        return store_mem_price == null ? "" : store_mem_price;
    }

    public void setStore_mem_price(String store_mem_price) {
        this.store_mem_price = store_mem_price;
    }

    public String getStore_mem_integral() {
        return store_mem_integral == null ? "" : store_mem_integral;
    }

    public void setStore_mem_integral(String store_mem_integral) {
        this.store_mem_integral = store_mem_integral;
    }

    public String getShop_mem_price() {
        return shop_mem_price == null ? "" : shop_mem_price;
    }

    public void setShop_mem_price(String shop_mem_price) {
        this.shop_mem_price = shop_mem_price;
    }

    public String getShop_mem_integral() {
        return shop_mem_integral == null ? "" : shop_mem_integral;
    }

    public void setShop_mem_integral(String shop_mem_integral) {
        this.shop_mem_integral = shop_mem_integral;
    }

    public String getPlu_code() {
        return plu_code == null ? "" : plu_code;
    }

    public void setPlu_code(String plu_code) {
        this.plu_code = plu_code;
    }

    public String getPlus_mem_integral() {
        return plus_mem_integral == null ? "" : plus_mem_integral;
    }

    public void setPlus_mem_integral(String plus_mem_integral) {
        this.plus_mem_integral = plus_mem_integral;
    }

    public String getPlus_price() {
        return plus_price == null ? "" : plus_price;
    }

    public void setPlus_price(String plus_price) {
        this.plus_price = plus_price;
    }

    public String getThird_goods_code() {
        return third_goods_code == null ? "" : third_goods_code;
    }

    public SkuGoodsInfo(List<String> id,List<String> name, String freightNumber, String code, String purchasePrice, String price, String stock) {
        this.id = id;
        this.name = name;
        this.sku_goods_number = freightNumber;
        this.sku_code = code;
        this.purchase_price = purchasePrice;
        this.retail_price = price;
        this.goods_num = stock;
    }

    public List<String> getId() {
        if (id == null) {
            return new ArrayList<>();
        }
        return id;
    }

    public void setId(List<String> id) {
        this.id = id;
    }

    public List<String> getName() {
        if (name == null) {
            return new ArrayList<>();
        }
        return name;
    }

    public void setName(List<String> name) {
        this.name = name;
    }

    public String getFreightNumber() {
        return sku_goods_number == null ? "" : sku_goods_number;
    }

    public void setFreightNumber(String freightNumber) {
        this.sku_goods_number = freightNumber;
    }

    public String getCode() {
        return sku_code == null ? "" : sku_code;
    }

    public void setCode(String code) {
        this.sku_code = code;
    }

    public String getPurchasePrice() {
        return purchase_price == null ? "" : purchase_price;
    }

    public void setPurchasePrice(String purchasePrice) {
        this.purchase_price = purchasePrice;
    }

    public String getPrice() {
        return retail_price == null ? "" : retail_price;
    }

    public void setPrice(String price) {
        this.retail_price = price;
    }

    public String getStock() {
        return goods_num == null ? "" : goods_num;
    }

    public void setStock(String stock) {
        this.goods_num = stock;
    }

    public String getWeightValue() {
        return weight_value == null ? "" : weight_value;
    }

    public void setWeightValue(String weight_value) {
        this.weight_value = weight_value;
    }

    public String getOnline_price() {
        return online_price == null ? "" : online_price;
    }

    public void setOnline_price(String online_price) {
        this.online_price = online_price;
    }
}
